home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
Issue60
/
ClassEng
/
Listing2.pas
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
2000-06-28
|
336 b
|
11 lines
private
function GetPixelColor(X, Y: Integer): TColor;
procedure SetPixelColor(X, Y: Integer; Value: TColor);
public
property PixelColor[X, Y: Integer]: TColor
read GetPixelColor write SetPixelColor;
. . .
// examples of use in code
MyBitMap.PixelColor[I, J] = clBlack then
MyBitMap.PixelColor[I, J] := clWhite;